import React, { Component } from 'react'
import {NavLink} from "react-router-dom"
export default class MyLink extends Component {
    render() {
            console.log(this.props)
        return (
            <div>
               <NavLink
                activeClassName="atguigu"
                className="list-group-item"
                to="/about"
                {...this.props}
              />
            </div>
        )
    }
}
